# -*- coding:utf-8 -*-
#init db
#from django.db import models
#from models import CommentSort

# from ltyxapp.models import CommentSort,EmployeeGroup
# from django.conf import settings
# import time
# print u'正在建立、跟新评论分类...'
# time.sleep(1)
# for list in settings.SORTLIST:
#     name = list['sort']
#     if len(CommentSort.objects.filter(sort=name))==0:
#         c = CommentSort()
#         c.sort = list['sort']
#         c.save()
        
# print u'正在建立、跟新用户分类...'
# time.sleep(1)
# for list in settings.EMPLOYEEGROUP:
#     type = list['type']
#     if len(EmployeeGroup.objects.filter(employee_type=type))==0:
#         e = EmployeeGroup()
#         e.employee_type = type
#         e.save()